package com.cloudkinto.service.statistics.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author zhangyy
 * @date 2020/9/27 13:04
 * @description:
 */
@Data
@ApiModel
public class NotificationAddReq {

    /**
     * 标题
     */
    @ApiModelProperty("标题")
    @NotBlank(message = "pls.input.title")
    private String title;

    /**
     * 内容
     */
    @ApiModelProperty("内容")
    @NotBlank(message = "pls.input.content")
    private String content;
}
